package com.tfswx.ocrengine.dto;

import lombok.Data;

import java.util.List;

/**
 * OCR返回带有文字坐标信息
 * @author Ricky
 * @date 2021/1/11
 */
@Data
public class WjjgxxBean {
    /**
     * wbsl : 1
     * sxsl : 1
     * wbxx : [{"hwb":"犯罪嫌疑人张三\u2026","hxh":0,"dlxh":0,"flxh":0,"hwbzb":[{"x":365,"y":11},{"x":581,"y":11},{"x":581,"y":33},{"x":365,"y":33}],"zfxx":[{"z":"被","g":48,"k":54,"x":520,"y":245},{"z":"取","g":48,"k":54,"x":582,"y":245}]}]
     * sxxx : [{"wb":"被取","wbzb":[{"x":520,"y":244},{"x":1190,"y":244},{"x":1190,"y":295},{"x":520,"y":295}],"zfxx":[{"z":"被","g":48,"k":54,"x":520,"y":245},{"z":"取","g":48,"k":54,"x":582,"y":245}]}]
     */

    /**
     * 文本数量 为0时wbxx为空
     */
    private int wbsl;
    /**
     * 手写数量 为0时sxxx为空
     */
    private int sxsl;
    /**
     * 结构化文本信息
     */
    private List<WbxxBean> wbxx;
    /**
     * 行字符信息 按行内字符顺序组成有序数组
     */
    private List<SxxxBean> sxxx;
    /**
     * 表格数量
     */
    private int bgsl;
    /**
     * 表格信息
     */
    private List<BgxxBean> bgxx;
}
